home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Unix / Shells / tcsh / Source / config / config.fps500 < prev    next >
Encoding:
Text File  |  1994-02-21  |  3.3 KB  |  129 lines

  1. /*
  2.  * config.h -- configure various defines for tcsh
  3.  *
  4.  * All source files should #include this FIRST.
  5.  *
  6.  * Edit this to match your system type.
  7.  *
  8.  * From kean@fps.ucs.orst.edu (Kean Stump)
  9.  * FPS 500 +FPX with Sun C compiler
  10.  */
  11.  
  12. /****************** System dependant compilation flags ****************/
  13. /*
  14.  * POSIX    This system supports IEEE Std 1003.1-1988 (POSIX).
  15.  */
  16. #define POSIX
  17.  
  18. /*
  19.  * POSIXJOBS    This system supports the optional IEEE Std 1003.1-1988 (POSIX)
  20.  *        job control facilities.
  21.  */
  22. #undef POSIXJOBS
  23.  
  24. /*
  25.  * POSIXSIGS    Use the POSIX signal facilities to emulate BSD signals.
  26.  */
  27. #undef POSIXSIGS
  28.  
  29. /*
  30.  * VFORK    This machine has a vfork().  
  31.  *        It used to be that for job control to work, this define
  32.  *        was mandatory. This is not the case any more.
  33.  *        If you think you still need it, but you don't have vfork, 
  34.  *        define this anyway and then do #define vfork fork.  
  35.  *        I do this anyway on a Sun because of yellow pages brain damage,
  36.  *        [should not be needed under 4.1]
  37.  *        and on the iris4d cause    SGI's fork is sufficiently "virtual" 
  38.  *        that vfork isn't necessary.  (Besides, SGI's vfork is weird).
  39.  *        Note that some machines eg. rs6000 have a vfork, but not
  40.  *        with the berkeley semantics, so we cannot use it there either.
  41.  */
  42. #define VFORK
  43.  
  44. /*
  45.  * BSDJOBS    You have BSD-style job control (both process groups and
  46.  *        a tty that deals correctly
  47.  */
  48. #define BSDJOBS
  49.  
  50. /*
  51.  * BSDSIGS    You have 4.2-style signals, rather than USG style.
  52.  *        Note: POSIX systems should not define this unless they
  53.  *        have sigvec() and friends (ie: 4.3BSD-RENO, HP-UX).
  54.  */
  55. #define BSDSIGS
  56.  
  57. /*
  58.  * BSDTIMES    You have BSD-style process time stuff (like rusage)
  59.  *        This may or may not be true.  For example, Apple Unix
  60.  *        (OREO) has BSDJOBS and BSDSIGS but not BSDTIMES.
  61.  */
  62. #define BSDTIMES
  63.  
  64. /*
  65.  * BSDLIMIT    You have BSD-style resource limit stuff (getrlimit/setrlimit)
  66.  */
  67. #define BSDLIMIT
  68.  
  69. /*
  70.  * BSDNICE    Your system uses setpriority() instead of nice, to
  71.  *        change a processes scheduling priority
  72.  */
  73. #define BSDNICE
  74.  
  75. /*
  76.  * TERMIO    You have struct termio instead of struct sgttyb.
  77.  *         This is usually the case for SYSV systems, where
  78.  *        BSD uses sgttyb. POSIX systems should define this
  79.  *        anyway, even though they use struct termios.
  80.  */
  81. #define TERMIO
  82.  
  83. /*
  84.  * SYSVREL    Your machine is SYSV based (HPUX, A/UX)
  85.  *        NOTE: don't do this if you are on a Pyramid -- tcsh is
  86.  *        built in a BSD universe.
  87.  *        Set SYSVREL to 1, 2, 3, or 4, depending the version of System V
  88.  *        you are running. Or set it to 0 if you are not SYSV based
  89.  */
  90. #define SYSVREL    0
  91.  
  92. /*
  93.  * YPBUGS    Work around Sun YP bugs that cause expansion of ~username
  94.  *        to send command output to /dev/null
  95.  *        This is fixed in sunos 4.1, broken in 4.0..
  96.  */
  97. #undef YPBUGS
  98.  
  99. /*
  100.  * SIGVOID    Define this if your signal handlers return void.  On older
  101.  *        systems, signal returns int, but on newer ones, it returns void.
  102.  */
  103. #define SIGVOID 
  104.  
  105. /*
  106.  * HAVEDUP2    Define this if your system supports dup2().
  107.  */
  108. #define HAVEDUP2
  109.  
  110. /*
  111.  * UTHOST    Does the utmp file have a host field?
  112.  */
  113. #define UTHOST
  114.  
  115. /*
  116.  * DIRENT    Your system has <dirent.h> instead of <sys/dir.h>
  117.  */
  118. #define DIRENT
  119. /****************** local defines *********************/
  120. /*
  121.  * SUNOS4    You are running SunOS 4 (on a Sun 2, 3, 4, or 386i)
  122.  */
  123. #define SUNOS4
  124. #define fps500
  125.  
  126. /****************** configurable hacks ****************/
  127. /* have been moved to config_f.h */
  128. #include "config_f.h"
  129.